﻿using Prism.Mvvm;
using RS.Win32API.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZuesUI.Models
{
    public class InterfaceReciveDataModel : BindableBase
    {
        //定义S7通讯的接收数据模板
        private string _Name;
        //aa
        public string Name
        {
            get { return _Name; }
            set
            {
                SetProperty(ref _Name, value);
            }
        }
        //接受值
        private object _value;
        public object Value
        {
            get { return _value; }
            set
            {
                SetProperty(ref _value, value);
            }
        }
        //地址
        private string _address;
        public string Address
        {
            get { return _address; }
            set
            {
                SetProperty(ref _address, value);
            }
        }
        private string _unit;
        public string Unit
        {
            get { return _unit; }
            set { SetProperty(ref _unit, value); }
        }


        public int DbIndex { get; set; } = default(int);

        public int DbDataIndex { get; set; } = default;

      //  public VarType DataType { get; set; }

    }
}
